import { getUserInfo, setUserInfo } from '@/utils/store';
export default {
  namespaced: true,
  state: {
    userInfo: getUserInfo()
  },
  mutations: {
    setUserInfo(state, obj) {
      state.userInfo = obj;
      setUserInfo(obj);
    }

  }
};
